]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
8 years agodata: Move D-Bus interface descriptions into a subdir
Florian Müllner [Thu, 6 Sep 2018 14:29:26 +0000 (16:29 +0200)]
data: Move D-Bus interface descriptions into a subdir

We'll soon move the inlined XML of all interfaces we export or consume into
separate files. That's a significant increase from the interfaces for which
we install documentation, so it makes sense to use a dedicated subdir.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/537

8 years agoUpdate Slovak translation
Dušan Kazik [Sun, 16 Sep 2018 06:43:25 +0000 (06:43 +0000)]
Update Slovak translation

8 years agokeyboard: Remove leftover call to get_current_time
Andrea Azzarone [Fri, 14 Sep 2018 10:18:38 +0000 (12:18 +0200)]
keyboard: Remove leftover call to get_current_time

8 years agoswitchMonitor: switch to next config upon initial keypress
Daniel Drake [Tue, 31 Jul 2018 00:17:44 +0000 (21:17 -0300)]
switchMonitor: switch to next config upon initial keypress

In GNOME-3.24, pressing Super+P or a similar function key would cause
a switch to the next available monitor configuration.

However, in GNOME-3.26, this was reimplemented in mutter and gnome-shell
and the behaviour is now different: pressing Super+P and releasing will
cause no change in montor configuration[1]. In this new design you have
to press Super+P and keep holding Super in order to keep the switcher
open, then press P again (or use the arrow keys or mouse) to
select the next one in the list.

This is incompatible with many Asus products such as Asus X530UN, where
pressing the presentation mode media key (Fn+F8) actually generates
the following keypress events from the keyboard controller:

Fn pressed: nothing
F8 pressed: nothing
F8 released: Super press, p press, p release, Super release (quick burst)
Fn released: nothing

With this firmware behaviour it's not possible to hold the keys and have
the dialog come up so that you can select another new mode.

To solve this, when the switcher is opened, select the next available
display config by default, which is more similar to the pre-GNOME-3.26
behaviour. Now pressing Fn+F8 on this laptop will result in the display
mode switch taking place.

[1]: The mentioned desired behaviour will at least happen after
https://gitlab.gnome.org/GNOME/mutter/issues/281 has been fixed

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/208

8 years agoworkspaceTracker: Don't keep multiple trailing workspaces
Florian Müllner [Wed, 5 Sep 2018 13:27:02 +0000 (15:27 +0200)]
workspaceTracker: Don't keep multiple trailing workspaces

Since we always keep the active workspace until the user switches
to a different one, we may end up with two empty workspaces at
the end. It's not obvious to users why this happens, and there's
indeed no good reason for the behavior - just remove the trailing
workspace in that case.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/536

8 years agoapp: Close all closable windows from quit()
Florian Müllner [Mon, 3 Sep 2018 15:10:27 +0000 (17:10 +0200)]
app: Close all closable windows from quit()

There's no relation between a window being hidden from overview/taskbars
and a window not being closable - currently we effectively disable the
fallback quit action for any application with open transients, which
simply doesn't make sense.

Instead, only exclude windows for which the close action has been
explicitly disabled.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/217

8 years agowindowManager: listen actively to windows being destroyed during WS switch
Carlos Garnacho [Thu, 6 Sep 2018 19:50:21 +0000 (21:50 +0200)]
windowManager: listen actively to windows being destroyed during WS switch

Prevents gjs from dealing with already dispose()d objects.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/539
8 years agowindowMenu: Port from Meta.ScreenDirection to Meta.DisplayDirection
Jürg Billeter [Tue, 11 Sep 2018 10:55:55 +0000 (12:55 +0200)]
windowMenu: Port from Meta.ScreenDirection to Meta.DisplayDirection

Meta.ScreenDirection no longer exists. This fixes window menus on
multi-monitor systems.

JS ERROR: TypeError: Meta.ScreenDirection is undefined
_buildMenu@resource:///org/gnome/shell/ui/windowMenu.js:135:17

8 years agoUpdate Dutch translation
Justin van Steijn [Sat, 8 Sep 2018 07:30:30 +0000 (07:30 +0000)]
Update Dutch translation

8 years agoUpdate Russian translation
Stas Solovey [Thu, 6 Sep 2018 19:56:09 +0000 (19:56 +0000)]
Update Russian translation

8 years agotheme: define proper :hover and :active states
Jakub Steiner [Wed, 5 Sep 2018 18:33:56 +0000 (20:33 +0200)]
theme: define proper :hover and :active states

- buttons didn't actually have these properly defined

fixes issue #523

8 years agoUpdate Belarusian translation
Yuras Shumovich [Wed, 5 Sep 2018 14:25:38 +0000 (14:25 +0000)]
Update Belarusian translation

8 years agonetwork: Don't assume the active connection has been processed first
Iain Lane [Thu, 16 Aug 2018 10:59:36 +0000 (11:59 +0100)]
network: Don't assume the active connection has been processed first

`NMConnectionDevice._sync()` is responsible for setting up the active
connection that we'll end up displaying. It expects the active
connection to already be in a map `_connectionItems`. If it isn't in
there, we get a null dereference and the indicator can get into a weird
state where it doesn't display devices / connections properly.

Let's change this expectation. If there is an active connection,
`_deviceAdded()` will eventually get to it and call `_sync()` to set up
the active connection state. We make `_sync()` tolerate there being no
active connection when it's called.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/140
8 years agoextensionSystem: Unset stylesheet file reference when unloaded
Marco Trevisan (Treviño) [Fri, 3 Aug 2018 16:19:14 +0000 (18:19 +0200)]
extensionSystem: Unset stylesheet file reference when unloaded

We must remove the GFile reference from the representing object when an
extension has been unloaded as this won't be used anymore later (e.g. as cached
ref).

8 years agojs/main: Throw error if no valid default stylesheet is found
Marco Trevisan (Treviño) [Wed, 15 Aug 2018 01:33:13 +0000 (03:33 +0200)]
js/main: Throw error if no valid default stylesheet is found

Throw an error using an informative message in case a mode uses a stylesheet
that can't be loaded, instead of crashing later because the theming can't be
properly computed, and thus the minimum size of the actors.

8 years agoextensionSystem: Unload stylesheet if extension is not loaded
Marco Trevisan (Treviño) [Fri, 3 Aug 2018 15:52:19 +0000 (17:52 +0200)]
extensionSystem: Unload stylesheet if extension is not loaded

We should not keep any reference to an extension custom stylesheet in case we
got an error while enabling that

8 years agoextensionSystem: Don't load an extension with invalid stylesheet
Marco Trevisan (Treviño) [Fri, 3 Aug 2018 15:46:27 +0000 (17:46 +0200)]
extensionSystem: Don't load an extension with invalid stylesheet

We currently assign the stylesheet to an extension whenever the file exists,
regardless of whether it actually loaded successfully or not.
And thus we load an extension that ships a stylesheet even if that file can't
be used.

There is no point in trying to load an extension if its stylesheet wasn't
loaded in the first place, so make sure this happens only on success.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/188

8 years agosearch: Ignore search provider results metas if search is cancelled
Marco Trevisan (Treviño) [Thu, 30 Aug 2018 05:11:24 +0000 (07:11 +0200)]
search: Ignore search provider results metas if search is cancelled

When a search has been cancelled, it is expected that providers don't
return the requested number of results, so don't log a warning in that
case.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/205

8 years agosearch: Cancel search provider operations on clear
Marco Trevisan (Treviño) [Thu, 23 Aug 2018 16:14:38 +0000 (18:14 +0200)]
search: Cancel search provider operations on clear

Ensure that the search provider operations (just getResultMetas requests
in the current implementation) in progress are properly cancelled when we
clear the UI, otherwise returned results might still be added when not
needed.

This is triggered for each provider by the SearchResults reset.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/205

8 years agoviewSelector: Cancel search on overview hidden
Marco Trevisan (Treviño) [Thu, 23 Aug 2018 14:11:10 +0000 (16:11 +0200)]
viewSelector: Cancel search on overview hidden

Currently when the overview is hidden, any pending search is kept alive,
not only at remote search provider level (as per issue #183), but even
the shell providers proxies continue to get and process data. This happens
even if this is not needed anymore, while the UI reset is performed only
next time that the overview is shown (causing some more computation
presentation time).

In order to stop this to happen, when the overview is hidden, we have to
unset the search entry to an empty value as this would make SearchResults
to have empty terms list and that would make the proxies cancellable to
be triggered (without causing any further search to start).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/205

8 years agocalendar: chain up to parent on _onDestroy
Florian Müllner [Mon, 9 Jul 2018 11:31:26 +0000 (13:31 +0200)]
calendar: chain up to parent on _onDestroy

8 years agoautomountManager: remove allowAutorun expire timeout on volume removal
Marco Trevisan (Treviño) [Wed, 4 Jul 2018 14:55:28 +0000 (16:55 +0200)]
automountManager: remove allowAutorun expire timeout on volume removal

If the volume is removed before AUTORUN_EXPIRE_TIMEOUT_SECS seconds, we can stop
the timeout earlier as there's nothing to unset, while the volume instance
won't be valid anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=791233

8 years agomessageList: stop syncing if closeButton has been destroyed
Marco Trevisan (Treviño) [Wed, 4 Jul 2018 13:56:25 +0000 (15:56 +0200)]
messageList: stop syncing if closeButton has been destroyed

The _sync function for Message only updates the close button visibility,
so we can safely stop doing that if the close button get get destroyed earlier
(as it happens when clicking on it).

https://bugzilla.gnome.org/show_bug.cgi?id=791233

8 years agodnd: Nullify _dragActor after we've destroyed it, and avoid invalid access
Marco Trevisan (Treviño) [Tue, 5 Dec 2017 21:41:17 +0000 (22:41 +0100)]
dnd: Nullify _dragActor after we've destroyed it, and avoid invalid access

We need to avoid that we use the _dragActor instance after that it has
been destroyed or we'll get errors. We now set it to null when this
happens, protecting any access to that.

Add a DragState enum-like object to keep track of the state
instead of using booleans.

Remove duplicated handler on 'destroy' and just use a generic one.

https://bugzilla.gnome.org/show_bug.cgi?id=791233

8 years agotheme: Remove unused assets
Florian Müllner [Sat, 1 Sep 2018 11:52:53 +0000 (13:52 +0200)]
theme: Remove unused assets

Spotted by monday15.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/520

8 years agoobjectManager: correct other invalid index code in onNameVanished
Ray Strode [Fri, 31 Aug 2018 16:48:00 +0000 (12:48 -0400)]
objectManager: correct other invalid index code in onNameVanished

The object manager tries to synthesize interface removal
events if the bus name of a remote object drops off the bus.

The code had bad typos in it, though: it reuses the `i`
index variable in its inner loop, where it should be using
the `j` index variable.

This commit corrects the i/j confusion.

8 years agoobjectManager: correct invalid index code in onNameVanished
Ray Strode [Fri, 31 Aug 2018 16:48:00 +0000 (12:48 -0400)]
objectManager: correct invalid index code in onNameVanished

The object manager tries to synthesize interface removal
events if the bus name of a remote object drops off the bus.

The code has a bad typo in it, though: it confuses `objectPaths`
(the list of all object paths) and `objectPath` (the object
currently being processed this iteration of the loop).

That leads to a failure to synthesize the interface removal
events, and spew in the log.

This commit corrects the objectPath/objectPaths confusion.

8 years agoBump version to 3.30.0
Florian Müllner [Mon, 3 Sep 2018 22:08:01 +0000 (00:08 +0200)]
Bump version to 3.30.0

Update NEWS.

8 years agoUpdated Danish translation
Ask Hjorth Larsen [Sun, 2 Sep 2018 20:31:00 +0000 (22:31 +0200)]
Updated Danish translation

8 years agoUpdate Croatian translation
gogo [Sun, 2 Sep 2018 16:11:23 +0000 (16:11 +0000)]
Update Croatian translation

8 years agoUpdate Swedish translation
Anders Jonsson [Sat, 1 Sep 2018 21:55:35 +0000 (21:55 +0000)]
Update Swedish translation

8 years agoFix README link
Harry Mallon [Sat, 1 Sep 2018 14:01:46 +0000 (15:01 +0100)]
Fix README link

8 years agoUpdate Finnish translation
Jiri Grönroos [Fri, 31 Aug 2018 22:14:39 +0000 (22:14 +0000)]
Update Finnish translation

8 years agoUpdate Latvian translation
Rūdolfs Mazurs [Fri, 31 Aug 2018 17:28:23 +0000 (17:28 +0000)]
Update Latvian translation

8 years agoUpdate Hungarian translation
Balázs Meskó [Fri, 31 Aug 2018 13:33:08 +0000 (13:33 +0000)]
Update Hungarian translation

8 years agoUpdated Vietnamese translation
Trần Ngọc Quân [Fri, 31 Aug 2018 07:35:16 +0000 (14:35 +0700)]
Updated Vietnamese translation

Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
8 years agojs, oVirt: Fix ES6 template string alignment
Marco Trevisan (Treviño) [Thu, 30 Aug 2018 02:49:17 +0000 (04:49 +0200)]
js, oVirt: Fix ES6 template string alignment

Fix wrong replacement of commit dbf993300a4bfbaaa8316baba7e06a9caf7b59a3
to be style-contistent with other definitions

8 years agoUpdate Galician translation
Fran Dieguez [Wed, 29 Aug 2018 21:59:01 +0000 (21:59 +0000)]
Update Galician translation

8 years agoBump version to 3.29.92
Florian Müllner [Wed, 29 Aug 2018 16:54:14 +0000 (18:54 +0200)]
Bump version to 3.29.92

Update NEWS.

8 years agoUpdated Czech translation
Marek Cernocky [Wed, 29 Aug 2018 05:18:37 +0000 (07:18 +0200)]
Updated Czech translation

8 years agopanel: Keep prefs in sync with shell-shows-app-menu state
Jonas Ådahl [Thu, 23 Aug 2018 13:56:50 +0000 (15:56 +0200)]
panel: Keep prefs in sync with shell-shows-app-menu state

Previously mutter listened to Xsettings (via GTK) to get notified
whether the shell showed the app menu. After X11 support was changed in
the direction of being less central, listening to this particular
Xsettings were removed with the intention of having the Shell tell
mutter directly whether it was showing the menu or not.

This commit makes that happen. It still travels through Xsettings (still
via Gtk), as the shell still gets that state from Xsettings, but fixing
this is out of scope for this particular fix.

Closes: https://gitlab.gnome.org/GNOME/mutter/issues/276
8 years agoosk: Add Malayalam layout
Mohammed Sadiq [Fri, 27 Jul 2018 05:25:05 +0000 (10:55 +0530)]
osk: Add Malayalam layout

The layout is based on inscript layout.

Copyright 2018 ICFOSS (info@icfoss.in)

Fixes #441

8 years agoinputMethod: Fix to hide preedit text
Takao Fujiwara [Tue, 21 Aug 2018 11:21:53 +0000 (20:21 +0900)]
inputMethod: Fix to hide preedit text

ibus_engine_update_preedit_text() should hide the pre-edit text
when visible == false.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/431

8 years agojs: use ES6 template strings for dbus interfaces
Marco Trevisan (Treviño) [Thu, 23 Aug 2018 00:55:02 +0000 (02:55 +0200)]
js: use ES6 template strings for dbus interfaces

Use multiline template strings for dbus interfaces as they're easier to maintain

8 years agojs/ui: Choose some actors to cache on the GPU
Daniel van Vugt [Fri, 6 Apr 2018 10:26:58 +0000 (18:26 +0800)]
js/ui: Choose some actors to cache on the GPU

Flag some actors that are good candidates for caching in texture memory
(what Clutter calls "offscreen redirect"), thereby mostly eliminating
their repaint overhead.

This isn't exactly groundbreaking, it's how you're meant to use
OpenGL in the first place. But the difficulty is in the design of
Clutter which has some peculiarities making universal caching
inefficient at the moment:

 * Repainting an offscreen actor is measurably slower than repainting
   the same actor if it was uncached. But only by less than 100%,
   so if an actor can avoid changing every frame then caching is usually
   more efficient over that timeframe.

 * The cached painting from a container typically includes its children,
   so you can't cache containers whose children are usually animating at
   full frame rate. That results in a performance loss.
     This could be remedied in future by Clutter explicitly separating a
   container's background painting from its child painting and always
   caching the background (as StWidget tries to in some cases already).

So this commit selects just a few areas where caching has been verified
to be beneficial, and many use cases now see their CPU usage halved:

One small window active...... 10% -> 7% (-30%)
...under a panel menu........ 23% -> 9% (-61%)
One maximized window active.. 12% -> 9% (-25%)
...under a panel menu........ 23% -> 11% (-52%)
...under a shell dialog...... 22% -> 12% (-45%)
...in activities overview.... 32% -> 17% (-47%)
(on an i7-7700)

Also a couple of bugs are fixed by this:

https://bugzilla.gnome.org/show_bug.cgi?id=792634
https://bugzilla.gnome.org/show_bug.cgi?id=792633

8 years agoUpdate Korean translation
Changwoo Ryu [Mon, 27 Aug 2018 14:11:52 +0000 (14:11 +0000)]
Update Korean translation

8 years agoUpdate Italian translation
Milo Casagrande [Mon, 27 Aug 2018 07:55:20 +0000 (07:55 +0000)]
Update Italian translation

8 years agoUpdate Indonesian translation
Kukuh Syafaat [Sun, 26 Aug 2018 13:49:05 +0000 (13:49 +0000)]
Update Indonesian translation

8 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sat, 25 Aug 2018 17:27:53 +0000 (17:27 +0000)]
Update Kazakh translation

8 years agoBump version to 3.29.91
Florian Müllner [Mon, 20 Aug 2018 14:09:21 +0000 (16:09 +0200)]
Bump version to 3.29.91

Update NEWS.

8 years agowindowManager: Ignore auto-repeat activation of toggle keybindigs
Andrea Azzarone [Fri, 22 Jun 2018 12:23:31 +0000 (14:23 +0200)]
windowManager: Ignore auto-repeat activation of toggle keybindigs

Use Meta.KeyBindingFlags.IGNORE_AUTOREPEAT for open-application-menu
and toggle-message-tray keybindings.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/373
8 years agoviewSelector: Ignore auto-repeat activation of toggle keybindigs
Andrea Azzarone [Fri, 22 Jun 2018 12:20:44 +0000 (12:20 +0000)]
viewSelector: Ignore auto-repeat activation of toggle keybindigs

Use Meta.KeyBindingFlags.IGNORE_AUTOREPEAT for toggle-application-view
and toggle-application-view keybindings.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/373
8 years agoUpdate British English translation
Bruce Cowan [Sun, 19 Aug 2018 16:42:07 +0000 (16:42 +0000)]
Update British English translation

8 years agoUpdate Romanian translation
Daniel Șerbănescu [Sun, 19 Aug 2018 16:17:31 +0000 (16:17 +0000)]
Update Romanian translation

8 years agoRevert "workspaceThumbnail: rebuild thumbnails if workareas size changed"
Florian Müllner [Fri, 20 Jul 2018 15:27:33 +0000 (17:27 +0200)]
Revert "workspaceThumbnail: rebuild thumbnails if workareas size changed"

It is unclear what the change was supposed to be fixing, but it
broke animations of workspace additions and removals, as those
events trigger the ::workareas-changed signal.

This reverts commit c29bd46e7a7e37a83849df8b3186c84eb46679ac.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/162

8 years agorunDialog: Use ClutterText::activate for enter handling
Carlos Garnacho [Wed, 15 Aug 2018 13:39:58 +0000 (15:39 +0200)]
runDialog: Use ClutterText::activate for enter handling

Instead of consuming the event in front of the input method. Enter
is sometimes overriden by those, so it seems better to let the IM
handle the key event, and react later to it if it got propagated
anyway. That is what ::activate does, so use this signal.

This used to work before ClutterInputMethod/InputFocus because the
IM received the events directly from stage captured events. This
is not the case anymore.

Closes: #440
8 years agost: Use ClutterClickAction on StEntry primary/secondary icons
Carlos Garnacho [Fri, 17 Aug 2018 18:12:31 +0000 (20:12 +0200)]
st: Use ClutterClickAction on StEntry primary/secondary icons

This makes them work on touchscreens as well.

Closes: #116
8 years agoUpdate Catalan translation
Jordi Mas [Thu, 16 Aug 2018 18:45:12 +0000 (20:45 +0200)]
Update Catalan translation

8 years agooverview: Restore previous workspace switcher policy
Florian Müllner [Fri, 20 Jul 2018 18:35:54 +0000 (20:35 +0200)]
overview: Restore previous workspace switcher policy

We used to keep the workspace switcher slid out when the user made use
of workspaces. This was changed in commit 2d84975 to give more space
to window previews, but it turned out to make the switcher quite a lot
more difficult to interact with (rather than only being a question of
discoverability). So go back to the previous behavior.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/161

8 years agooverviewControls: Sync hover after drag operations
Florian Müllner [Fri, 20 Jul 2018 18:51:40 +0000 (20:51 +0200)]
overviewControls: Sync hover after drag operations

During global grabs, actors miss enter and leave events required
for correct hover tracking. This can cause the workspace switcher
to get stuck while slid out, so ensure the actor's hover state is
synced after drag operations.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/161

8 years agobuild: Use dedicated resources for helper programs
Florian Müllner [Fri, 10 Aug 2018 11:56:07 +0000 (13:56 +0200)]
build: Use dedicated resources for helper programs

Using a single resource file for all JS sources saves a couple of
build system instructions, but has some serious downsides:

 - bundling the entire shell code with the tools blows
   up their size unnecessarily

 - the tools are rebuilt unnecessarily for any shell
   code change

Autotools was painful enough to let this slip, but with meson we
don't have any excuses - using the actual dependencies speeds up
the build a tiny bit and reduces the tools' sizes from over 2M
to about 50k.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/192

8 years agobuild: Clean up tools' dependencies
Florian Müllner [Fri, 10 Aug 2018 11:43:59 +0000 (13:43 +0200)]
build: Clean up tools' dependencies

Simply reusing the same dependencies as gnome-shell itself not only
means that we link tons of stuff unnecessarily, but also that we
have to do the whole mutter rpath dance for nothing. Just use the
dependencies those executables actually need for a nice cleanup.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/192

8 years agobuild: Don't modify typelib search path in tools
Florian Müllner [Fri, 10 Aug 2018 11:34:15 +0000 (13:34 +0200)]
build: Don't modify typelib search path in tools

We need this in the main gnome-shell executable in order to locate
the private Shell and St typelibs, but those aren't useful or even
usable in the extension-prefs/portal helper tools.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/192

8 years agolayout: Mark chrome container as NO_LAYOUT
Carlos Garnacho [Fri, 10 Aug 2018 19:37:48 +0000 (21:37 +0200)]
layout: Mark chrome container as NO_LAYOUT

Showing and hiding children does not affect the allocation of the uiGroup
nor its other children. We can avoid full relayout/redraw in those
situations.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/197

8 years agoFix typo in Czech translation
Andre Klapper [Mon, 13 Aug 2018 07:52:22 +0000 (09:52 +0200)]
Fix typo in Czech translation

https://bugzilla.gnome.org/show_bug.cgi?id=796829

8 years agoUpdate German translation
Bernd Homuth [Sun, 12 Aug 2018 12:21:06 +0000 (12:21 +0000)]
Update German translation

8 years agoUpdate Chinese (Taiwan) translation
Yi-Jyun Pan [Sun, 12 Aug 2018 10:18:17 +0000 (10:18 +0000)]
Update Chinese (Taiwan) translation

8 years agoUpdate French translation
Alexandre Franke [Thu, 9 Aug 2018 17:52:20 +0000 (17:52 +0000)]
Update French translation

8 years agoUpdate Friulian translation
Fabio Tomat [Wed, 8 Aug 2018 04:58:52 +0000 (04:58 +0000)]
Update Friulian translation

8 years agobuild: Fix build with meson >= 47.0
Pascal Nowack [Mon, 6 Aug 2018 12:21:02 +0000 (14:21 +0200)]
build: Fix build with meson >= 47.0

With meson >= 47.0, building gnome-shell will fail
when --rebuild-types is used as an option for gtk-doc,
so stop using that option and bump the meson requirement.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/191

8 years agonetworkAgent: Fix another ByteArray => Uint8Array instance
Florian Müllner [Thu, 2 Aug 2018 21:54:08 +0000 (23:54 +0200)]
networkAgent: Fix another ByteArray => Uint8Array instance

This was missed in commit 7ca418a79a. As we are dealing with
non-\0-terminated data here, go through GBytes this time.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/189

8 years agooverview: Use whole stage size for cover pane
verdre [Tue, 24 Jul 2018 12:45:03 +0000 (14:45 +0200)]
overview: Use whole stage size for cover pane

We show a cover pane on top of the overview during transitions to
prevent issues caused by clicks and mouseover events when the overview
is not ready. Right now, this pane is only being shown on the primary
monitor, which obviosly allows interactions to happen before the
animations are finished on the secondary monitors.

To fix this, use the size of the whole stage for the cover pane.

8 years agoUpdate Turkish translation
Emin Tufan Çetin [Mon, 6 Aug 2018 07:16:17 +0000 (07:16 +0000)]
Update Turkish translation

8 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 5 Aug 2018 20:22:14 +0000 (23:22 +0300)]
Updated Lithuanian translation

8 years agoUpdate Polish translation
Piotr Drąg [Sat, 4 Aug 2018 17:14:44 +0000 (19:14 +0200)]
Update Polish translation

8 years agokeyboard: Refactor code resetting IM on window drags
Carlos Garnacho [Fri, 3 Aug 2018 14:01:48 +0000 (16:01 +0200)]
keyboard: Refactor code resetting IM on window drags

When a window is dragged, the OSK should get hidden. Just
do this in a nicer way.

8 years agokeyboard: defer position-changed till we have a rect
Carlos Garnacho [Fri, 13 Jul 2018 22:14:07 +0000 (00:14 +0200)]
keyboard: defer position-changed till we have a rect

Emitting it that soon results in JS warnings, as we don't have
everything in place yet. The position-changed signal will be
emitted from other locations as soon as we have it.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/464

Closes: #464
8 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 3 Aug 2018 09:17:49 +0000 (11:17 +0200)]
Updated Slovenian translation

8 years agotools: fix XDG desktop syntax in gnome-shell-overrides-migration
Olivier Blin [Thu, 2 Aug 2018 22:35:24 +0000 (00:35 +0200)]
tools: fix XDG desktop syntax in gnome-shell-overrides-migration

Reported by desktop-file-validate:
error: value "True" for boolean key "NoDisplay" in group "Desktop
Entry" contains invalid characters, boolean values must be "false" or
"true"

8 years agoworkspace: Simplify detecting added dialogs after closing a window
verdre [Tue, 19 Jun 2018 10:45:18 +0000 (12:45 +0200)]
workspace: Simplify detecting added dialogs after closing a window

When trying to close a window in the overview by clicking the close
button and the window doesn't get closed but a dialog is added to the
window afterwards, we close the overview and show the dialog.

Instead of adding a separate listener for the window-added signal to the
WindowOverlay, let the WindowClones remember that the close button was
pressed and activate themselves if a dialog is added after that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/180

8 years agoworkspace: Fix infinite loop when finding parent window of dialogs
verdre [Mon, 23 Jul 2018 12:22:34 +0000 (14:22 +0200)]
workspace: Fix infinite loop when finding parent window of dialogs

When a dialog is added to a window while the overview is shown, we get
its parent using get_transient_for() so we can add it to the right
window clone.

If we have multiple layers of dialogs we have to do this recursively
until we find the root ancestor. This case currently results in an
infinite loop: Since parent is always set to the same window, the
while-condition will always be true.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/180

8 years agodata: Fix comment in schema
Florian Müllner [Wed, 1 Aug 2018 18:03:03 +0000 (20:03 +0200)]
data: Fix comment in schema

8 years agoshowOSD: Fix handling of defined 'falsy' parameters
Florian Müllner [Wed, 1 Aug 2018 11:27:07 +0000 (13:27 +0200)]
showOSD: Fix handling of defined 'falsy' parameters

For the OSD, all parameters except for the icon are optional - if the
caller doesn't include the 'label' option, the OSD won't show a label
etc.

While this makes sense for an API, it means that we have to be careful
to correctly differentiate an option that was omitted and an option
that has a 'falsy' value like false or 0.

Unfortunately since commit ccaae5d3c we no longer do, with the result
that OSDs meant for the first monitor will show up on all, and a level
of 0 is presented as no level bar instead of an empty one, whoops.

https://bugzilla.gnome.org/show_bug.cgi?id=791669

8 years agoUpdate Brazilian Portuguese translation
Bruno Lopes da Silva [Wed, 1 Aug 2018 10:15:51 +0000 (10:15 +0000)]
Update Brazilian Portuguese translation

8 years agoBump version to 3.29.90
Florian Müllner [Wed, 1 Aug 2018 01:15:09 +0000 (03:15 +0200)]
Bump version to 3.29.90

Update NEWS.

8 years agoUpdate POTFILES.in
Piotr Drąg [Tue, 31 Jul 2018 21:55:20 +0000 (23:55 +0200)]
Update POTFILES.in

8 years agotools: Migrate changed overrides settings
Florian Müllner [Wed, 18 Jul 2018 17:27:29 +0000 (19:27 +0200)]
tools: Migrate changed overrides settings

While the new per-desktop overrides in GIO are easier to use for
both developers and users, it is still inconvenient for everyone
who changed the defaults using the old overrides hack to lose
their settings. Address this by running a small script on startup
that migrates existing settings.

https://bugzilla.gnome.org/show_bug.cgi?id=786496

8 years agoReplace custom override schema with per-desktop override
Florian Müllner [Wed, 16 Aug 2017 19:15:48 +0000 (21:15 +0200)]
Replace custom override schema with per-desktop override

GSettings now recognizes per-desktop overrides that can be used
to change schemas' default values for a particular desktop. This
is not entirely unlike our existing custom override mechanism in
mutter, except that it is not limited to keys in org.gnome.mutter,
and it doesn't require a separate schema - the latter means that
we (and gnome-teak-tool) no longer have to figure out the correct
schema for the current login session and just use the original one.

https://bugzilla.gnome.org/show_bug.cgi?id=786496

8 years agovolume: Show overamplified icon when in overdrive
Didier Roche [Fri, 9 Feb 2018 14:10:16 +0000 (15:10 +0100)]
volume: Show overamplified icon when in overdrive

Show an overamplified volume icon if volume is louder the max normalized one.
Use a similar logic as gnome-settings-daemon to delimit values, restricted
to output.
The purpose is to help users remember that visiting some websites or
using some apps can get LOUD.

https://bugzilla.gnome.org/show_bug.cgi?id=790280.

8 years agobarLevel: Add "overdrive" capability
Didier Roche [Tue, 31 Jul 2018 13:49:06 +0000 (15:49 +0200)]
barLevel: Add "overdrive" capability

Implement for barLevel an overdrive area. This is a zone represented via a
different styling to indicate that you are bypassing the normal zone of
a given level, without reaching yet the maximum limit.

https://bugzilla.gnome.org/show_bug.cgi?id=790280.

8 years agovolume: Allow volume above 100%
Didier Roche [Tue, 31 Jul 2018 06:02:04 +0000 (08:02 +0200)]
volume: Allow volume above 100%

Depending on hardware and recorded volume level, turning up the speakers
to the maximum volume may not be enough and the user will want to amplify
the volume above 100%. Currently this requires opening the sound Settings
panel which gets cumbersome when required repeatedly.

To support this case better, allow raising the sound volume above 100%
directly from the system menu if the feature is enabled via the
`allow-volume-above-100-percent` key in `org.gnome.desktop.sound`.

8 years agoosdWindow: Allow levels above 100%
Didier Roche [Tue, 31 Jul 2018 14:47:05 +0000 (16:47 +0200)]
osdWindow: Allow levels above 100%

Allow osd representing levels that can be more than 100% by accepting
an optional parameter setting that maximum level.
gnome-settings-daemon will use this to indicate volume levels above 100%,
which our own volume indicator will soon support as well.

8 years agobarLevel: Support maxValue higher than 1
Didier Roche [Fri, 9 Feb 2018 13:02:21 +0000 (14:02 +0100)]
barLevel: Support maxValue higher than 1

Ensure that both barLevel and slider can support a higher maxValue than 1
and computes various positions based on it.
It defaults to 1 if not set.

https://bugzilla.gnome.org/show_bug.cgi?id=790280.

8 years agoosdWindow: Reuse BarLevel drawing functionality
Didier Roche [Thu, 8 Feb 2018 18:22:29 +0000 (19:22 +0100)]
osdWindow: Reuse BarLevel drawing functionality

Reuse the BarLevel class to get similar drawing behavior as Slider.
Rename theme css impacted properties and ensure that the osdWindow
remains accessible.
Ensure we don't force setting a custom border color like on the OSD.

https://bugzilla.gnome.org/show_bug.cgi?id=790280.

8 years agolevelBar: Factor out bar drawing
Didier Roche [Thu, 8 Feb 2018 18:04:42 +0000 (19:04 +0100)]
levelBar: Factor out bar drawing

Split drawing logic from Slider to BarLevel subclass.
This changes part of the theme css from -slider- to -barlevel-.

https://bugzilla.gnome.org/show_bug.cgi?id=790280.

8 years agosystem: Don't execute Settings
Georges Basile Stavracas Neto [Tue, 31 Jul 2018 16:23:05 +0000 (13:23 -0300)]
system: Don't execute Settings

In a9ad91c831, a bug was introduced in the following code:

```c
            this._settingsAction.connect('clicked',
                                         this._onSettingsClicked().bind(this));
```

Notice that the callback is being executed! This commit
fixes that by removing the '()' from the callback.

8 years agoExplicitly convert raw data to strings
Florian Müllner [Mon, 30 Jul 2018 12:35:27 +0000 (14:35 +0200)]
Explicitly convert raw data to strings

As strings are guaranteed to use UTF-8 in the GNOME platform, generic
file APIs like g_file_load_contents() return raw data instead. Since
gjs' recent update to mozjs60, this data is now returns as Uint8Array
which cannot simply be treated as string - its toString() method boils
down to arr.join(',') - so use gjs' new ByteArray module to explicitly
convert the data.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/179

8 years agosystem: Pick up Settings name and icon from app
Florian Müllner [Tue, 24 Jul 2018 14:40:03 +0000 (16:40 +0200)]
system: Pick up Settings name and icon from app

The settings action button in the system menu simply launches
gnome-control-center, so we want its icon (and accessible name)
to always match the app. So instead of keeping the button in-sync
with Settings, just look up that information from the app itself.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/433

8 years agosystem: Enforce symbolic icons in action buttons
Florian Müllner [Tue, 24 Jul 2018 14:29:56 +0000 (16:29 +0200)]
system: Enforce symbolic icons in action buttons

We can simply request the symbolic variant from CSS so that we don't
have to append '-symbolic' to all the names. This will always make
it easier to pick up that information from external sources (like
.desktop files).

https://gitlab.gnome.org/GNOME/gnome-shell/issues/433

8 years agowindowManager: Fix switch animation between non-adjacent workspaces
Florian Müllner [Tue, 31 Jul 2018 04:37:20 +0000 (06:37 +0200)]
windowManager: Fix switch animation between non-adjacent workspaces

Commit e5c95b910d refactored the workspace animation to also handle
animations that involve all surrounding workspaces, but due to an
ill-advised review comment (guess whose) it broke the animation
for non-neighboring workspaces.

Update the code to handle correctly whether in a given direction:
 - we have the target workspace of a given index
 - we have a neighboring workspace
 - we don't need to animate anything

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/182